.. _EEex_GetQuickButtons: =================================== EEex_GetQuickButtons =================================== Returns a list of quick slot buttons :: EEex_GetQuickButtons(m_CGameSprite, buttonType, existenceCheck) **Parameters** * *m_CGameSprite* - pointer to game sprite object * *buttonType* - type of button, see notes * *existenceCheck* - boolean ``true`` or ``false`` **Returns** Returns a list of quick buttons **Notes** *buttonType* values can be one of the following: +--------------------+------------------------------------+ | **Button Type ID** | **Button Type Notes** | +--------------------+------------------------------------+ | 0 | Left Arrow | +--------------------+------------------------------------+ | 1 | Right Arrow | +--------------------+------------------------------------+ | 2 | Bard Song | +--------------------+------------------------------------+ | 3 | Cast Spell | +--------------------+------------------------------------+ | 4 | Find Traps | +--------------------+------------------------------------+ | 5 | Talk | +--------------------+------------------------------------+ | 6 | Unknown / Blank | +--------------------+------------------------------------+ | 7 | Guard | +--------------------+------------------------------------+ | 8 | Attack | +--------------------+------------------------------------+ | 9 | Shape Change | +--------------------+------------------------------------+ | 10 | Special Abilities | +--------------------+------------------------------------+ | 11 | Stealth | +--------------------+------------------------------------+ | 12 | Thieving | +--------------------+------------------------------------+ | 13 | Turn Unded | +--------------------+------------------------------------+ | 14 | Use Item | +--------------------+------------------------------------+ | 15 | Stop | +--------------------+------------------------------------+ | 16 | Quick Formation - Rectangle | +--------------------+------------------------------------+ | 17 | Quick Formation - Defensive Wedge | +--------------------+------------------------------------+ | 18 | Quick Formation - T-Shape | +--------------------+------------------------------------+ | 19 | Quick Formation - Offsensive Wedge | +--------------------+------------------------------------+ | 20 | Quick Formation - Circle | +--------------------+------------------------------------+ | 21 | Quick Item 1 | +--------------------+------------------------------------+ | 22 | Quick Item 2 | +--------------------+------------------------------------+ | 23 | Quick Item 3 | +--------------------+------------------------------------+ | 24 | Quick Spell 1 | +--------------------+------------------------------------+ | 25 | Quick Spell 2 | +--------------------+------------------------------------+ | 26 | Quick Spell 3 | +--------------------+------------------------------------+ | 27 | Quick Weapon 1 | +--------------------+------------------------------------+ | 28 | Quick Weapon 2 | +--------------------+------------------------------------+ | 29 | Quick Weapon 3 | +--------------------+------------------------------------+ | 30 | Quick Weapon 4 | +--------------------+------------------------------------+ | 43 | Left Arrow | +--------------------+------------------------------------+ | 44 | Right Arrow | +--------------------+------------------------------------+ | 67 | **Crashes game - dont use** | +--------------------+------------------------------------+ | 100 | None | +--------------------+------------------------------------+ Note: other button types not listed may be available, but typically are used internally for spell buttons and other dynamic buttons for the game engine. **Example** :: local m_CGameButtonList = EEex_GetQuickButtons(m_CGameSprite, 2, 0) **See Also** :ref:`EEex_UseCGameButtonList`